package com.hksj.ecm.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hksj.ecm.dto.EnergyStatisticalAnalysisDTO;
import com.hksj.ecm.dto.EnergyStatisticsDTO;
import com.hksj.ecm.dto.EnergyTrendAnalysisDTO;
import com.hksj.ecm.vo.*;
import com.hksj.tdengine.taos.annatation.DS_TAOS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName EnergyStatisticalAnalysisMapper
 * @Description TODO
 * @Author @陈章
 * @Date 2024/8/16 14:23
 * @Version 1.0
 */
@Mapper
public interface EnergyStatisticalAnalysisMapper {

    List<EnergyStatisticsVO> selectDeviceBySpaceModelIdList(@Param("dto") EnergyStatisticsDTO dto);


    @DS("TAOS")
    List<EnergyVO> queryEnergyStatisticalAnalysis(@Param("dto") EnergyStatisticsDTO dto, @Param("tableName")String tableName);
}
